
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Userfeedback 分页列表
*/
export function getUserfeedbackPagination(data: any) {
  return axios.get(`${context}/userfeedback/pagination`, { params: data });
}


/**
 * 获取 Userfeedback 所有数据
*/
export function getUserfeedbackAllList(data: any) {
  return axios.get(`${context}/userfeedback/all`, { params: data });
}


/**
 * 获取 Userfeedback 详情
*/
export function getUserfeedbackDetailById(id: any) {
  return axios.get(`${context}/userfeedback/${id}`, { params:{id} });
}


/**
 * 新增 Userfeedback
*/
export function addUserfeedback(data: any) {
  return axios.post(`${context}/userfeedback`, data);
}

/**
 * 修改 Userfeedback
*/
export function updateUserfeedback(data: any) {
  return axios.put(`${context}/userfeedback`, data);
}

/**
 * 删除 Userfeedback
*/
export function batchRemoveUserfeedback(data: any) {
  return axios.post(`${context}/userfeedback/batchRemove`, data);
}

    